#ifndef _TEST_H
#define _TEST_H
#include "arm_2d.h"
#include "example_gui.h"
#include "app_platform.h"
#include "arm_2d_helper.h"

//#define __ARM_2D_HAS_INTERPOLATION_ROTATION__  1
__attribute__((nothrow)) 
extern int64_t clock(void);
extern uint8_t Font_16x16_h[];
extern
const uint8_t Font_6x8_h[(144-32)*8];
extern const uint8_t c_hanzhi[];
extern uint8_t bainian_flag ;

extern const arm_2d_tile_t c_tileGear02;
extern const arm_2d_tile_t c_tileGear01;
extern const arm_2d_tile_t c_tilePointerSec;
extern const arm_2d_tile_t c_tilePointerMin;
extern const arm_2d_tile_t c_tilePointerHor;
extern const arm_2d_tile_t c_tilePointerBiao;
extern const arm_2d_tile_t c_tileyuan;
extern const arm_2d_tile_t c_tileyuanMask;
extern const arm_2d_tile_t c_tilebeijing;
extern const arm_2d_tile_t c_tilePointerSec2Mask;
extern const arm_2d_tile_t c_tilePointerSec2;
extern const arm_2d_tile_t c_tilePointerhour2;
extern const arm_2d_tile_t c_tilePointerMin2;
extern const arm_2d_tile_t c_tilePao;
extern const arm_2d_tile_t c_tileguang1;
extern const arm_2d_tile_t c_tileguang2;
extern const arm_2d_tile_t c_tileguang3;


void progress_bar_drill_init(void);
void progress_bar_drill_show(const arm_2d_tile_t *ptTarget, int_fast16_t iProgress);
uint32_t get_clock_test();
void lcd_puts_chinese(const char *str);
int My_lcd_printf(const char *format, ...);
void lcd_text_location_su(uint8_t chY, uint8_t chX);
int maintest();
void test_rotation(const arm_2d_tile_t *ptTile, bool bIsNewFrame);
void display_task(void);

#endif